CC = gcc
CFLAGS = -Wall -Wextra -I../../common
LDFLAGS = -lcrypto

SRC = test_crypto.c ../../common/crypto_utils.c
OBJ = $(SRC:.c=.o)
	TARGET = test_crypto

.PHONY: all clean

all: $(TARGET)

$(TARGET): $(OBJ)
		$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)

%.o: %.c
		$(CC) $(CFLAGS) -c -o $@ $<

clean:
		rm -f $(OBJ) $(TARGET)
